package co.fitstart.weapp.api.service;

import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import co.fitstart.entity.course.round.CourseRound;
import co.fitstart.weapp.api.entity.CourseAchievement;

/**
 * 
 * @author haiyan_xiao
 *
 */
public interface CourseAchievementService {

    /**
     * 
     * @param courseRound
     * @return
     */
    public CourseAchievement getCourseAchievement(CourseRound courseRound);

    /**
     * 
     * @param courseRound
     * @return
     */
    public Map<String, Object> getCourseAchievementShare(CourseRound courseRound);

    /**
     * 
     * @param courseRound
     * @param photo
     * @param suffix
     * @return
     */
    public Map<String, Object> uploadContrastPhoto(CourseRound courseRound, MultipartFile photo, String suffix);
}
